The Basic Editor provides the standard editing functions you are familiar with when working in a text document. It supports the functions of the Edit menu (Cut, Delete, Paste), the ability to select text with the Shift key, as well as cursor positioning functions (for example, moving from word to word with CommandCtrl and the arrow keys).
Basic エディタには、文書ドキュメントに使用される、標準的な編集機能が用意されています。標準的な 編集 メニューの機能 (切り取り、削除、貼り付け) を始め、Shift キーを使ったテキスト選択や、カーソル移動 (たとえば ( CommandCtrl) + (矢印) キーによる単語の移動) などの各種機能が利用できます。
Long lines can be split into several parts by inserting a space and an underline character _ as the last two characters of a line. This connects the line with the following line to one logical line. (If "Option Compatible" is used in the same Basic module, the line continuation feature is also valid for comment lines.)
長い行は、行の最後の 2 文字としてスペースとアンダーライン文字 _ を挿入することにより、いくつかの部分に分割することができます。 これにより、その行は 1 つの論理線に対する次の行と結合されます。 (同じ Basic モジュールで "Option Compatible" が使用されている場合、継続行の機能はコメント行でも有効です。)
If you press the Run BASIC icon on the Macro bar, program execution starts at the first line of the Basic editor. The program executes the first Sub or Function and then program execution stops. The "Sub Main" does not take precedence on program execution.
マクロ バーの Basic プログラムの実行 アイコンを押すと、Basic エディタの最初の行でプログラムの実行が開始されます。プログラムは最初の Sub または Function を実行し、その後、プログラムの実行が停止します。「Sub Main」は、プログラムの実行では優先されません。
![]() | Insert your Basic code between the Sub Main and End Sub lines that you see when you first open the IDE. Alternatively, delete all lines and then enter your own Basic code.
最初に IDE を開くときに表示される Sub Main 行と End Sub 行の間に Basic のコードを挿入します。あるいは、すべての行を削除して、独自の Basic コードを入力します。 |
Select a library from the Library list at the left of the toolbar to load the library in the editor. The first module of the selected library will be displayed.
ツールバーの左側にある ライブラリ リストで、エディタに読み込むライブラリを選択します。選択したライブラリの最初のモジュールが表示されます。
You can save Basic code in a text file for saving and importing in other programming systems.
Basic プログラムコードをテキスト形式で保存し、それを他のプログラミングシステムでインポートしたり保存したりすることができます。
![]() | You cannot save Basic dialogs to a text file.
ただし、Basic ダイアログをテキストファイルに保存することはできません。 |
Select the module that you want to export as text from the object catalog.
オブジェクトカタログで、テキストファイルに保存するモジュールを選択します。
Click the Save Source As icon in the Macro toolbar.
マクロツールバーにあるアイコン ソーステキストに名前を付けて保存... をクリックします。
Select a file name and click OK to save the file.
ファイル名を指定して、保存 をクリックします。
Select the module where you want to import the source code from the object catalog.
オブジェクトカタログで、テキストファイルをインポートするモジュールを選択します。
Position the cursor where you want to insert the program code.
プログラムコードを挿入する位置に、カーソルを移動します。
Click the Insert Source Text icon in the Macro toolbar.
マクロツールバーにあるアイコン ソーステキストの挿入 をクリックします。
Select the text file containing the source code and click OK.
読み込むプログラムコードが記述されたテキストファイルを選択して、開く をクリックします。